package com.ruoyi.project.records.service.impl;

import com.ruoyi.project.records.domain.DocterWork;
import com.ruoyi.project.records.mapper.DocterWorkMapper;
import com.ruoyi.project.records.service.IDocterWorkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class DocterWorkServiceImpl implements IDocterWorkService {

    @Autowired
    private DocterWorkMapper docterWorkMapper;

    //根据医生姓名和就诊时间动态查询医生工作量列表
    @Override
    public List<DocterWork> selDocterWorkList(String dName, Map<String, Object> params) {
        return docterWorkMapper.selDocterWorkList(dName, params);
    }

    //根据医生姓名和接诊时间动态查询总体工作量情况
    @Override
    public List<DocterWork> selDocterWorkSum(String dName,  Map<String, Object> params) {
        return docterWorkMapper.selDocterWorkSum(dName, params);
    }
}
